@font-face {
  font-family: 'Cairo';
  src: url('../fonts/static/Cairo-Regular.ttf') format('truetype');
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Cairo",sans-serif;
}

body{
    padding-top: 90px;
    background:#f6f9fc;
    direction:rtl;
}

body, html {
    overflow-x: visible;
}


/*================== HEADER =============== */

header .logo {
    position: relative;
    width: 140px;
    height: auto;
}

header .logo img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    transition: opacity 0.3s;
    opacity: 1; 
}

header .logo .logo-blue {
    top: 0;
    left: 0;
    width: 140px;
    transition: opacity 0.3s;
    opacity: 0; 
}

header.scrolled .logo img:first-child {
    opacity: 0; 
}

header.scrolled .logo .logo-blue {
    opacity: 1; 
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.3s;
    background: transparent;
    border-bottom: 0px solid transparent;
}

header.scrolled {
    background: #ffffff;
    border-bottom: 4px solid #033d83; 
}

header .container {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    direction: ltr;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    font-size: 14px;
    color: black;
    transition: 0.3s;
}

header.scrolled nav ul li a {
    color: #000;
}

.triangle-btn-wrapper {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.triangle-btn-wrapper div {
  width: 100%;
  height: 4px;
  background-color: white; 
  transition: 0.3s;
}


header.scrolled .triangle-btn-wrapper div {
  background-color: #033d83;
}

/* ================= HERO ================= */

.hero-header{
    background: linear-gradient(135deg,#163a5f,#1d70b8);
    color:#fff;
    text-align:center;
    padding:45px 15px;
}

.hero-header h1{
    font-size:30px;
    margin-bottom:6px;
    letter-spacing:.5px;
}

.hero-header p{
    font-size:14px;
    opacity:.9;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 25px;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 6px;
    display: none;
    min-width: 170px;
    top: calc(120% - 5px);
}

.dropdown-menu li a {
    color: #000 !important;
    display: block;
    padding: 8px 15px;
    text-decoration: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

@media (min-width: 992px) {
  .triangle-btn-wrapper {
    display: none;
  }
}


/*================== form ==================*/

.visitor-section {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
}

.visitor-section h2 {
    text-align: right;
    margin-bottom: 25px;
    color: #1d70b8;
}

.visitor-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
}

.label-dual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.label-dual .ar {
    direction: rtl;
}

.label-dual .en {
    direction: ltr;
    font-size: 13px;
    color: #666;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}



.btn-submit {
    margin-top: 15px;
    padding: 12px;
    background: #1d70b8;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.btn-submit:hover {
    opacity: 0.85;
}

.interest-box {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.interest-item input {
    accent-color: #1d70b8;
}

.interest-item:hover {
    background: #f2f2f2;
    border-color: #1d70b8;
}

input:focus,
select:focus{
    outline:none;
    border-color:#1d70b8;
    background:#fff;
}

.interest-item input:checked + span {
    border-color: #1d70b8;   /* حط اللون اللي بدك ياه */
}

.success-msg {
    display: none;
    background: #e6f7ec;
    color: #1e7e34;
    padding: 14px;
    border: 1px solid #b7e4c7;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}



/*================== footer ==================*/

.footer {
    background: #0a2955;
    padding: 50px 80px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    direction: ltr;
}


.footer-logo {
    display: flex;
    flex-direction: column; 
}

.logo-wrapper {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    align-items: flex-start; 
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 80px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; 
    height: 32px;
    border-radius: 50%;
    border: solid white;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.social-icons a img {
    width: 20px;  
    height: 20px;
    display: block;
}

.social-icons a:hover {
    background: #0a2955;
    transform: scale(1.1);
}

.footer-section h3 , p{
    margin-bottom: 10px;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 8px 0;
    color: #444;
    padding-left: 20px;
    position: relative;
}

.footer-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px; 
    height: 8px;
    background-color: white; 
    border-radius: 50%; 
}

.footer-section ul li a{
    text-decoration: none;
    color: white;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.map-box {
    width: 140px;
    height: 120px;
}

.bottom-bar {
    background: #0a2955;
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 14px;
}

.bottom-bar a{
    color: white;
}

.bottom-bar a:hover{
    color: #ffcb05;
}

@media (max-width: 480px) {
    
    body {
        padding-top: 75px;
    }
    
    header {
        padding: 12px 0;
    }
    
    header .logo,
    header .logo img {
        width: 110px;
    }
    
    nav {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: #fff;
        transition: 0.3s;
        padding-top: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        border-bottom: 1px solid #eee;
    }

    nav ul li a {
        display: block;
        padding: 14px 20px;
        font-size: 15px;
    }

    nav.active {
        right: 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
        background: #f6f9fc;
        border-radius: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }




















    .footer {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 24px 12px !important;
        grid-template-columns: none !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .footer * {
        box-sizing: border-box !important;
        max-width: 100%;
    }

    .footer > .logo-wrapper,
    .footer > .footer-logo,
    .footer > :nth-child(1) {
        width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .footer > :nth-child(n+2) {
        flex: 0 0 45% !important;    
        max-width: 48% !important;
        width: 48% !important;
        min-width: 140px !important;
    }
    
    .footer img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .footer-section {
        width: 48% !important;
        max-width: 48% !important;
        flex: 0 0 48% !important;
        padding: 8px 6px !important;
    }
    
    .footer-section h3 {
        font-size: 15px !important;
        margin-bottom: 8px !important;
    }
    
    .footer-section p,
    .footer-section ul li {
        font-size: 13px !important;
    }
    
    .social-icons {
        justify-content: center !important;
        margin-top: 12px !important;
    }
    
    .footer > * {
        display: block !important;
    }
}    